import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import {resolve} from 'path'
import {viteMockServe} from 'vite-plugin-mock'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [react(), viteMockServe()],
  resolve: {
    alias: {
      '@': resolve(__dirname, "src")
    }
  }
})
